﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace WebApi.Models
{
    [Table("Inventory")]
    public class Inventory : EntityTypeConfiguration<Inventory>  /*库存信息*/
    {
        [Key]
        public int SKU_Id { set; get; }    /*1、编号*/
        public DateTime? SKU_TimeStamp { get; set; }/*2、时间戳*/
        public string SKU_Label { set; get; }   /*3、规格描述*/
        public string SKU_2ndLabel { set; get; }      /*4、二维描述*/
        public string SKU_Picture { set; get; }     /*5、图片*/
        public string SKU_Code { set; get; }     /*6、商品条形码*/
        public int SKU_Stock { set; get; }    /*7、库存数量*/
        public int pro_Id { set; get; }     /*8、对应商品编号*/
        public decimal? SKU_Cost { set; get; }     /*9、成本*/
        public decimal? SKU_RefPrice { set; get; }     /*10、参考价（原价）*/
        public decimal? SKU_CrtPrice { set; get; }     /*11、现价*/
        public int SKU_WrnStock { set; get; }     /*12、预警库存*/
    }
}